package com.otupia.acs.spring.dao;

import javax.sql.DataSource;

import com.otupia.acs.entity.UserInfo;

public interface UserDao
{

	void setDataSource(DataSource dataSource);
	UserInfo findUserByNameAndPwd(String name, String pwd);
	void createUser(UserInfo userInfo);
	void updateUser(UserInfo userInfo);
	void deleteUser(UserInfo userInfo);
	UserInfo findeUserById(long id);
	
}
